<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
<link href="../../css/style.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" language="javascript">
<!--
	function back(){
		window.location.href = "userManage.html";
		window.location.target = "main";
	}
	
	function showHidden(id){
		var obj = document.getElementById(id);
		var objs = document.getElementsByName("uPassword");
		if(obj.style.display == "none" && objs[0].checked){
			document.getElementById(id).style.display = "block";
		}else if(objs[1].checked){
			document.getElementById(id).style.display = "none";
		}
	}
	
	function showHidden2(id){
		var obj = document.getElementById(id);
		var objs = document.getElementsByName("isDept");
		if(obj.style.display == "none" && objs[0].checked){
			document.getElementById(id).style.display = "block";
		}else if(objs[1].checked){
			document.getElementById(id).style.display = "none";
		}
	}
	
-->
</script>
</head>
<body>
	<a class="common_title">>> 您现在的位置：基础设置 >> 修改用户</a>
	
	<div class="tools">
		<a class="save" href="#" title="保存" hidefocus="true">保存</a>&nbsp;&nbsp;&nbsp;&nbsp;
		<a class="reset" href="#" title="重置" hidefocus="true">重置</a>&nbsp;&nbsp;&nbsp;&nbsp;
		<a class="back" href="javascript:back();" title="返回" hidefocus="true">返回</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
	</div>
	
<table class="table1">
	<tr>
		<td>
			<table class="table_input" cellpadding="0" cellspacing="0" style="margin: 0 0 0 100px;">
				<tr><td colspan="2"></td></tr>
				<tr>
					<td width="15%">用户编号：</td>
					<td><input class="input_long" type="text" value="001"/></td>
				</tr>
				<tr>
					<td width="">用户姓名：</td>
					<td><input class="input_long" type="text" value="张小科"/></td>
				</tr>
				<tr>
					<td width="">用户密码：</td>
					<td><input class="input_long" type="password" value="000"/></td>
				</tr>
				<tr>
					<td width="">确认密码：</td>
					<td><input class="input_long" type="password" value="000"/></td>
				</tr>
				<tr>
					<td width="">所属部门：</td>
					<td>
						<select onchange="showHidden2('tUpdateDept')">
							<option>销售部</option>
							<option>----------请选择----------</option>
							<option>市场部</option>
						</select>
					</td>
				</tr>
				<tr id="tUpdateDept" style="display: none;">
					<td width="">客户是否留在原部门：</td>
					<td>
						<input name="isDept" type="radio" checked="checked"/>是&nbsp;&nbsp;
						<input name="isDept" type="radio"/>否
					</td>
				</tr>
				<tr>
					<td width="">指定角色：</td>
					<td>
						<select>
							<option>一般用户</option>
							<option>----------请选择----------</option>
							<option>销售总监</option>
						</select>
					</td>
				</tr>
				<tr>
					<td width="">分机：</td>
					<td><input class="input_long" type="text"/></td>
				</tr>
				<tr>
					<td width="">手机：</td>
					<td><input class="input_long" type="text"/></td>
				</tr>
				<tr>
					<td width="">出生日期：</td>
					<td><input class="input_long" type="text"/></td>
				</tr>
				<tr>
					<td width="">Email：</td>
					<td><input class="input_long" type="text"/></td>
				</tr>
				<tr>
					<td width="">是否可用：</td>
					<td colspan="3"><input type="radio" checked="checked"/>是&nbsp;&nbsp;<input type="radio"/>否</td>	
				</tr>
				<tr>
					<td width="">是否修改密码：</td>
					<td colspan="3">
						<input name="uPassword" type="radio" onclick="showHidden('tPassword')"/>是&nbsp;&nbsp;
						<input name="uPassword" type="radio" checked="checked" onclick="showHidden('tPassword')"/>否</td>	
				</tr>
			</table>
			
			<table id="tPassword" class="table_input" cellpadding="0" cellspacing="0" style="margin: 0 0 0 100px;display: none;">
				<tr>
					<td width="15%">新密码：</td>
					<td><input class="input_long" type="password"/></td>
				</tr>
				<tr>
					<td width="">确认密码：</td>
					<td><input class="input_long" type="password"/></td>
				</tr>
			</table><br>
		</td>
	</tr>
</table>	
</body>
</html>